refactor: move visitor creation to before/after blocks in livechat room tests#39289
refactor: move visitor creation to before/after blocks in livechat room tests#39289Copilot wants to merge 12 commits into
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
…om tests Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
…solation Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
…block Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Done in 9881835. Consolidated all tests using a standard visitor into a single |
ggazzo
left a comment
There was a problem hiding this comment.
Could you create a mechanism that adds the rooms to an array and then removes them in the after event, to prevent the room removal process from failing?
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Done in 7a88808. Added a |
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #39289 +/- ##
===========================================
+ Coverage 70.14% 70.47% +0.32%
===========================================
Files 3273 3263 -10
Lines 116240 116425 +185
Branches 20806 21000 +194
===========================================
+ Hits 81538 82051 +513
- Misses 31399 32342 +943
+ Partials 3303 2032 -1271
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
/jira ARCH-1464 |
describe('livechat/room')into two sub-blocksbefore/afterhooks for visitor lifecycleroomsToCloseSet mechanism to collect room IDs for cleanuproomsToClose.add()calls beforeexpectstatements to ensure cleanup happens even if assertions failOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.